| GUI Help > Special > getSelFont | ||||||||||||||
|
getSelFont |
||||||||||||||
| handle font=getSelFont(handle gadget) | ||||||||||||||
|
Description: Retrieves information about the font of the currently selected text, eg: name, size, bold, italic, underline. First use this command to create a new font with information about the selected text then use the font commands getFontName, getFontSize, isFontBold, isFontItalic and isFontUnderlined to extract information about the font. The text colour of the selection is a different property which can be obtained using getSelColor. |
||||||||||||||
|
Return Value: Handle of a new font |
||||||||||||||
| Parameters: | ||||||||||||||
|
||||||||||||||
| Remarks:
|
||||||||||||||
| See Also:
|
||||||||||||||
|
Example: (Note: You will need to include the GUI constants file for this example to work) |